package excercise;

public class EX01_008 {
	
	public static void main(String[] args) {
		
		double a = 3 + 4.5 * 2 + 27 / 8;
		boolean b = true || false && 3 < 4 || !(5 == 7);
		boolean c = true || (3 < 5 && 6 >= 2);
		// boolean d = !true > 'A';    ==> 논리연산은 숫자로 산출 불가능
		double e = 7 % 4 + 3 - 2 / 6 * 'Z';
		double f = 'D' + 1 + 'M' % 2 / 3;
		double g = 5.0 / 3 + 3 / 3;
		boolean h = 53 % 21 < 45 / 18;
		boolean i = (4 < 6) || true && false || false && (2 > 3);
		int j = 7 - (3 + 8 * 6 + 3) - (2 + 5 * 2);
		
		System.out.println(a);
		System.out.println(b);
		System.out.println(c);
		System.out.println(e);
		System.out.println(f);
		System.out.println(g);
		System.out.println(h);
		System.out.println(i);
		System.out.println(j);
	}
}
